<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link type="text/css" rel="stylesheet" href="__CSS__/course.css"/>
    <script type="text/javascript" src="__JS__/common.js"></script>
    <link href="__ZUI__/css/zui.css" rel="stylesheet">
    <script type="text/javascript" src="__ZUI__/js/zui.js"></script>
</block>

<block name="body">
    <!--登录后显示个人区域-->
     <div class="col-xs-3">  
           
           <include file="Public/sidebar"  />
     </div>
     <!--/登录后显示个人区域-->

     <div class="col-xs-9 content">
     <div class="row">          
         <include file="_tab"/>
          <div class="white-box"> 
             <!-- <legend>{$thistitle}</legend>   -->  
          <h3><i class="icon-user"></i>{$thistitle}</h3> 
          <!--班级列表表单start-->                 
          <form class="form-horizontal form-condensed" role="form" method="post" id="classform" name="classform" action="">          
                 <div class="form-group">
                    <label class="col-md-2 control-label required">班 级：</label>
                      <div class="col-md-6">
                         <select name="bj_code" class="form-control"  style="width:210px;"  onChange="this.form.submit()">
                          
                             <volist name="classlist" id="v">
                                <option value="{$v.bj_code}"<if condition="$cur eq $v['bj_code']"> selected</if>  >{$v.bj_name}</option>            
                             </volist>                          
                        </select>
                      </div> 
                      <input class="btn btn-primary" value="提交"  type="submit" >
                    </div>
             </form>
              <!--班级列表表单end--> 
              <link href="__ZUI__/lib/datagrid/zui.datagrid.min.css" rel="stylesheet">
              <script src="__ZUI__/lib/datagrid/zui.datagrid.min.js"></script>
              
              <div id="datagridExample" class="datagrid" data-ride="datagrid">数据表示例</div>      
        </div>
      
 </div>

  <script type="text/javascript">
  $('#datagridExample').datagrid({
    dataSource: {
        cols:[
            {name: 'time', label: '时间', width: 132},
            {name: 'hera', label: '英雄', width: 134},
            {name: 'action', label: '动作', width: 109},
            {name: 'target', label: '目标', width: 109},
            {name: 'desc', label: '描述', width: 287}
        ],
        array:[
            {time: '00:11:12', hero:'幻影刺客', action: '击杀', target: '斧王', desc: '幻影刺客击杀了斧王。'},
            {time: '00:13:22', hero:'幻影刺客', action: '购买了', target: '隐刀', desc: '幻影刺客购买了隐刀。'},
            {time: '00:19:36', hero:'斧王', action: '购买了', target: '黑皇杖', desc: '斧王购买了黑皇杖。'},
            {time: '00:21:43', hero:'力丸', action: '购买了', target: '隐刀', desc: '力丸购买了隐刀。'}
        ]
    },
    // ... 其他初始化选项
});


  </script>


</block>